package com.imcode.genericeinterface;

public class UserService02<T> implements Service<T> {

    @Override
    public void set(T t) {

    }

    @Override
    public T get(int id) {
        return null;
    }

    public static void main(String[] args) {
        UserService02<User> service = new UserService02<>();
        service.set(new User());
        User u = service.get(100);
    }
}
